package abstactClassInterfaceCodeKuai02;

public class Rabbit extends Animal {


    public Rabbit() {
    }

    public Rabbit(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("兔子吃胡萝卜");
    }

    public void say() {
        System.out.println("老子是兔子类的特殊方法");
    }
}
